import request from '@/utils/request'

// 查看日周月报列表
export function dailyList(data) {
  return request({
    url: '/system/report/listByType',
    method: "get",
    params: data
  })
}





// 查看单条日报
export function dailyDetails(data) {
  return request({
    url: '/system/report/' + data,
    method: 'get',
  })
}

// 日报填写
export function reportAdd(data) {
  return request({
    url: "/system/report",
    method: 'put',
    data
  })
}

// 删除

export function deleReport(planIds) {
  return request({
    url: "/system/report/" + planIds,
    method: "delete",
  });
}



// 成员日周月报
export function memberList(data) {
  return request({
    url: '/system/report/listCopyforByType',
    method: 'get',
    params: data
  })
}

export function memberSearch(data) {
  return request({
    url: '/system/report/getMember',
    method: "get",
    params: data
  })
}


  // 保存评审栏信息
// export function release (data){
//   return request({
//     url:"/system/checkHistoryinfo",
//     method:'put',
//     params:data
//   })
// }




